import "./index.less";

const CommonTitle = ({type="small",children}) => {
  return (
    <div className={`common-title ${type==='small'?'common-title-bg-small':'common-title-bg-large'}`}>
     {children}
    </div>
  );
};

export default CommonTitle;
